package com.wtwd.campus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author mjy
 * @since 2021-07-14
 */
public class WxUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "wx_user_id", type = IdType.AUTO)
    private Integer wxUserId;

    private String openId;

    private String wxUserName;

    private String wxUserPhone;

    private Long createTime;

    private Long lastLoginTime;

    private Integer wxCustomer;

    public Integer getWxCustomer() {
        return wxCustomer;
    }

    public void setWxCustomer(Integer wxCustomer) {
        this.wxCustomer = wxCustomer;
    }

    public Integer getWxUserId() {
        return wxUserId;
    }

    public void setWxUserId(Integer wxUserId) {
        this.wxUserId = wxUserId;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getWxUserName() {
        return wxUserName;
    }

    public void setWxUserName(String wxUserName) {
        this.wxUserName = wxUserName;
    }

    public String getWxUserPhone() {
        return wxUserPhone;
    }

    public void setWxUserPhone(String wxUserPhone) {
        this.wxUserPhone = wxUserPhone;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Long lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }


    @Override
    public String toString() {
        return "WxUser{" +
                "wxUserId=" + wxUserId +
                ", openId='" + openId + '\'' +
                ", wxUserName='" + wxUserName + '\'' +
                ", wxUserPhone='" + wxUserPhone + '\'' +
                ", createTime=" + createTime +
                ", lastLoginTime=" + lastLoginTime +
                ", wxCustomer=" + wxCustomer +
                '}';
    }
}
